package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.RoleAuthority;
import org.apache.ibatis.annotations.Param;

public interface RoleAuthorityMapper extends Mapper<RoleAuthority> {
    /**
     * 删除角色权限
     */
    Boolean deleteRoleAuthority(Integer rid);

    /**
     * 更新修改时间和修改人
     *
     * @return
     *
     */
    Boolean deleteRoleA(RoleAuthority roleAuthority);
    Boolean insertRA(RoleAuthority roleAuthority);

    /**
     * 添加角色权限
     */
    Boolean addRoleAuthority(RoleAuthority roleAuthority);
}